package common.core.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import common.core.util.CommonUtil;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 项目excel文件导入/导出子项目的配置实体
 *
 * @author xhl
 */
@Data
@ExcelTarget("projectImportSonEntity")
public class ProjectImportSonEntity implements Serializable {

    @Excel(name = "实验子项目检索编号", orderNum = "0", needMerge = true)
    private String projectNumber;

    @Excel(name = "实验子项目名称", orderNum = "1",needMerge = true)
    private String projectName;

    @Excel(name = "实验子项目概述", orderNum = "2",needMerge = true)
    private String summary;

    @Excel(name = "实验子关键字", orderNum = "3",needMerge = true)
    private String keyword;

    @Excel(name = "实验子项目总数", orderNum = "4",needMerge = true)
    private String samplesTotalNumber;

    @Excel(name = "实验子样本类型", orderNum = "5",needMerge = true)
    private String sampleType;

    @Excel(name = "实验子样本种属", orderNum = "6",needMerge = true)
    private String sampleSpecies;

    @ExcelCollection(name = "实验子项目实施人", orderNum = "7")
    private List<PubUserInfoEntity> implementerNumbers;
}
